package com.auth.manage.user.domain.service.config;

import com.auth.manage.user.infra.util.BloomUtilsBean;
import org.redisson.Redisson;
import org.redisson.RedissonBloomFilter;
import org.redisson.api.RBloomFilter;
import org.redisson.api.RedissonClient;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class BloomFilterConfig {

    @Bean
    public BloomUtilsBean bloomUtilsBean(RedissonClient redissonClient){
        return new BloomUtilsBean(redissonClient);
    }
}
